package com.digitalmone.sample;

public class RegularExpPlay {

	public static void main(String[] args) {
		
		String str = "my nokia n73 works 12 g23s3d. 56k k.m.l. hero";
		
		// token containing number with/without chars, ends w/wt '.' & or BK space
		String s = str.replaceAll("([a-z]*[0-9]+[\\w][\\.]*[\\s]*)", "");
//		String s = str.replaceAll("[a-z]", "");
		System.out.println(s);

	}
}
